home *** CD-ROM | disk | FTP | other *** search
/ Speccy ClassiX 1998 / Speccy ClassiX 98.iso / amiga_system / the_aminet / comm / bbs / maxsutils.lha / MaxUtils / MasterQuest01b.lha / MasterQuest.doc < prev    next >
Text File  |  1992-10-17  |  3KB  |  86 lines

  1.  
  2.  
  3.                       M a s t er Q u e s t   v 0 . 1
  4.  
  5.  
  6. This  is  an  idea  from  an  IBM  BBS in Sydney (500cc Formula One) and is
  7. probably on many other systems around the place.
  8.  
  9. It  is  a questionnaire door (yet another one), but there is something very
  10. different about it.  The users make the questions.
  11.  
  12. The code for this one is very messy but to the best of my knowledge it will
  13. work (well, it does on my set-up).
  14.  
  15.  
  16.  
  17. To  set up, make a directory in your doors path called MasterQuest and copy
  18. all the files in this archive into that directory.  They are:
  19.  
  20.           AnswerFile.dat
  21.           MasterQuest
  22.           MScreen.txt
  23.           QNum.dat
  24.           Questions.dat
  25.  
  26. Set  it  up  on  a  menu (function 34) to run the file 'MasterQuest'.  Edit
  27. 'MScreen.txt'  (Menu  screen) any way you like so that it fits in with your
  28. BBS or you can leave it the way it is if you prefer.
  29.  
  30.  
  31.  
  32. This  is only the first version and it seems to be working okay except as I
  33. said  before  the  code  is  very messy and confusing (confused myself many
  34. times  while  writing it).  At the moment, you can not edit the data files,
  35. if  you  do  you  will ruin the whole program as the data files will be all
  36. different.   I am working on an editor now and I should have something done
  37. shortly hopefully.
  38.  
  39.  
  40.  
  41.  
  42. Well,  this  door  didn't  take me too long so I hope I have not overlooked
  43. anything.   Any  suggestions  or  comments,  please  leave  me a message in
  44. MaxsNet,  MaxsSysOps,  Co-SysOp,  MiniNet or NetMail me at 3:30000/66.  You
  45. can also ring my BBS (Amiga File Server) direct on (02)876-8965.
  46.  
  47.  
  48.  
  49. Enjoy!
  50.  
  51.  
  52.  
  53. A small note just incase you do want to edit it, these are the config file
  54. structures.
  55.  
  56. AnswerFile.dat      - keeps track of the answers
  57.   0     <=- Number of people who in Question 1 pressed A
  58.   ..
  59.   ..    <=- Depending how many choices, depends where Question 2 begins.
  60.   ..
  61.   1     <=- Number of people who in Question 2 pressed A for example.
  62.  
  63.     If  you  eish to restart the data file, change all values to 0, however
  64.     make sure you do not put not enough 0s in or the door will not like it,
  65.     and too may will stuff it up next time someone adds a question.
  66.  
  67. QNum.dat            - keeps track of the current question number.
  68.   1     <=- Numerical number of the NEXT question number
  69.  
  70.     If  you  to delete a question, you would have to take 1 or however many
  71.     questions you are deleting off this number.  Should be 1 when resetting
  72.     door.
  73.  
  74. Questions.dat       - list of questions to be asked.
  75.   ---START
  76.    x - Asked by yyyyyyyyy yyyyyy on zz/zz/zz
  77.   <Question>
  78.   ...   <=- Depending how may lines the question is.
  79.   ---EOQ
  80.   <Answers>
  81.   ...   <=- Depending how many possible answers there are.
  82.   ---EOA
  83.   ... Etc.
  84.  
  85.     x = Question number, yyyy... = asker's name, zz/zz/zz = date asked.
  86.     To reset delete whole file.